package com.xyh.transaction.mapper;

import com.xyh.transaction.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface PermissionMapper {

    Set<Permission> findByUserId(Integer userId);

    List<Permission> findAll();
}
